/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

import entities.Domain;
import entities.Query;
import java.util.List;

/**
 *
 * @author Dragan
 */
public class DwConfigurationDerived extends DwConfiguration {

    private Domain oldDomain;
    private double allowedDerivationCost;

    public DwConfigurationDerived(Domain oldDomain, Domain domain, List<Query> queries,
            double allowedMaintenanceCost, double rho, double allowedDerivationCost) {
        super(domain, queries, allowedMaintenanceCost, rho);
        this.oldDomain = oldDomain;
        this.allowedDerivationCost = allowedDerivationCost;
    }

    public double getAllowedDerivationCost() {
        return allowedDerivationCost;
    }

    public void setAllowedDerivationCost(double allowedDerivationCost) {
        this.allowedDerivationCost = allowedDerivationCost;
    }

    public Domain getOldDomain() {
        return oldDomain;
    }

    public void setOldDomain(Domain oldDomain) {
        this.oldDomain = oldDomain;
    }
}
